﻿using UnityEngine;
using System.Collections;

//[ExecuteInEditMode]
public class SetRenderQueue : MonoBehaviour {

	public int renderQueue;
	
	public void Start () {
		var meshRender = GetComponent<MeshRenderer> ();
		if (meshRender) {
			meshRender.material.renderQueue = renderQueue;
		}
	}

}
